/* SPDX-License-Identifier: GPL-2.0-or-later */

#ifndef __LIBLINUX_LINUX_OF_FDT_H__
#define __LIBLINUX_LINUX_OF_FDT_H__

#include_next <linux/of_fdt.h>
#ifndef CONFIG_OF_EARLY_FLATTREE
static inline const void *of_get_flat_dt_prop(unsigned long node, const char *name, int *size)
{
	return NULL;
}
#endif
struct notifier_block;
extern int of_register_earlyfdt_notifier(struct notifier_block *nb);

#endif /* __LIBLINUX_LINUX_OF_FDT_H__ */
